package robot;

import lejos.nxt.LCD;

class SensorThread extends Thread {
	
	//name the thread in the constructor
    public SensorThread(String str) {
    	super(str);
    }
    
    //the thing for the thread to do
    public void run() {
	
    	while (OnBoard.keepItRunning){
			OnBoard.checkErrors();
		}
    	
	}
    
   
}